<?
/*
***************MainForm******************	
*	Created by Doron Rainer		*
*****************************************
*/
include("mysql.php");
?>
<html>
<head>
	<title>test</title>
	<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">

</head>

<body>
<?
require("objects/form.php");
require("objects/input.php");
require("objects/select.php");
require("objects/textarea.php");
require("objects/button.php");
$form1=new form("post","test.php");
$username = new input("Username", "text","username");
$password = new input("Password", "password", "passwd");
$submit = new input("","submit","","send");
$checkbox1 = new input("check","checkbox","test");
$select = new select("select","gender");
$text1 = new textarea("text","content","hello world");
$button1 = new button("content","javascript:true");
$username->add($form1);
$password->add($form1);
$text1->add($form1);
$submit->add($form1);
$checkbox1->add($form1);
$select->add($form1);
$button1->add($form1);
echo nl2br($form1->createForm());
?>


</body>
</html>
